Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add LoRA loading for the LlamaCpp LLM #3363

Merged

Conversation

horenbergerb
Copy link
Contributor

First PR, let me know if this needs anything like unit tests, reformatting, etc. Seemed pretty straightforward to implement. Only hitch was that mmap needs to be disabled when loading LoRAs or else you segfault.

@horenbergerb horenbergerb changed the title add LoRA loading for the llamacpp LLM add LoRA loading for the LlamaCpp LLM Apr 22, 2023
@vowelparrot vowelparrot merged commit 2b9f1ce into langchain-ai:master Apr 25, 2023
@horenbergerb horenbergerb deleted the add-lora-loading-to-llamacpp branch April 25, 2023 01:48
vowelparrot pushed a commit that referenced this pull request Apr 26, 2023
First PR, let me know if this needs anything like unit tests,
reformatting, etc. Seemed pretty straightforward to implement. Only
hitch was that mmap needs to be disabled when loading LoRAs or else you
segfault.
vowelparrot pushed a commit that referenced this pull request Apr 28, 2023
First PR, let me know if this needs anything like unit tests,
reformatting, etc. Seemed pretty straightforward to implement. Only
hitch was that mmap needs to be disabled when loading LoRAs or else you
segfault.
samching pushed a commit to samching/langchain that referenced this pull request May 1, 2023
First PR, let me know if this needs anything like unit tests,
reformatting, etc. Seemed pretty straightforward to implement. Only
hitch was that mmap needs to be disabled when loading LoRAs or else you
segfault.
yanghua pushed a commit to yanghua/langchain that referenced this pull request May 9, 2023
First PR, let me know if this needs anything like unit tests,
reformatting, etc. Seemed pretty straightforward to implement. Only
hitch was that mmap needs to be disabled when loading LoRAs or else you
segfault.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants